import 'package:flutter/material.dart';
import 'package:flutter_learn/learn/inherit/ConfiguredBox.dart';
import 'package:flutter_learn/learn/inherit/ConfiguredPage.dart';
import 'package:flutter_learn/learn/inherit/ConfiguredText.dart';

class ConfigWidgetPage extends StatelessWidget {
  const ConfigWidgetPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    print("重新构建＝＝＝＞ConfigWidgetPage");
    return Scaffold(
      appBar: AppBar(
        title: Text("Inherited Widget"),
      ),
      body: ConfiguredPage(
        child: Column(
          children: [ConfiguredText(), ConfiguredBox(),],
        ),
      ),
    );
  }
}
